package com.example.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 好友关系表
 * @TableName chat_friend_rel
 */
@TableName(value ="chat_friend_rel")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChatFriendRel implements Serializable {
    /**
     * 好友关系编号
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户编号
     */
    private Integer userId;

    /**
     * 好友编号
     */
    private Integer friendId;

    /**
     * 是否拉黑
     */
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}